/*
 * Copyright (c) 2010, Nikolaus Moll
 * All rights reserved.
 */
package net.gradecalculator.plugin.core.srdx.internal;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

@XmlRootElement(namespace = "http://gradecalculator.net/", name="individualModule")
@XmlType(name="individualModule")
public class XmlIndividualModule extends XmlModule {
	private float ects;
	private int hoursPerWeek;

	@XmlElement(name = "ects") 
	public float getECTS() {
		return ects;
	}
	public void setECTS(final float ects) {
		this.ects = ects;
	}
	
	@XmlElement(name = "hoursperweek") 
	public int getHoursPerWeek() {
		return hoursPerWeek;
	}
	public void setHoursPerWeek(final int hoursPerWeek) {
		this.hoursPerWeek = hoursPerWeek;
	}

	
}
